﻿using System;

namespace Entities
{
    [Serializable]
    public class PhieuChi
    {
        private int phieuchiid;
        private string hanhdong;
        private string maPhieuChi;
        private DateTime ngayLap;
        private string maDoiTuong;
        private string maKho;
        private string khoanMuc;
        private string doiTuong;
        private string tenDoiTuong;
        private string diaChi;
        private string maSoThue;
        private string nguoinhantien;
        private string maTKNganHang;
        private string coTaiKhoan;
        private string noTaiKhoan;
        private string tongTienThanhToan;
        private string maNhanVien;
        private string ghiChu;
        private bool deleted;

        
        Entities.TaiKhoan taiKhoan;
        public Entities.TaiKhoan TaiKhoan
        {
            get { return this.taiKhoan; }
            set
            {
                this.taiKhoan = value;
            }
        }

        public PhieuChi()
        { }
        public PhieuChi(int phieuchiid, string hanhdong, string maPhieuChi, DateTime ngayLap, string maDoiTuong,string maKho, string khoanMuc, string doiTuong, string tenDoiTuong, string diaChi, string maSoThue, string nguoinhantien, string maTKNganHang, string coTaiKhoan, string noTaiKhoan, string tongTienThanhToan, string maTienTe,string maNhanVien, string ghiChu, bool deleted,Entities.TaiKhoan taiKhoan)
        {
             this.taiKhoan = taiKhoan;
            this.phieuchiid = phieuchiid;
            this.hanhdong = hanhdong;
            this.maPhieuChi = maPhieuChi;
            this.ngayLap = ngayLap;
            this.maDoiTuong = maDoiTuong;
            this.maKho = maKho;
            this.khoanMuc = khoanMuc;
            this.doiTuong = doiTuong;
            this.tenDoiTuong = tenDoiTuong;
            this.diaChi = diaChi;
            this.maSoThue = maSoThue;
            this.nguoinhantien = nguoinhantien;
            this.maTKNganHang = maTKNganHang;
            this.coTaiKhoan = coTaiKhoan;
            this.noTaiKhoan = noTaiKhoan;
            this.tongTienThanhToan = tongTienThanhToan;
            this.maNhanVien = maNhanVien;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }
        public int PhieuChiID
        {
            get { return this.phieuchiid; }
            set
            {
                this.phieuchiid = value;
            }
        }
        public string HanhDong
        {
            get { return this.hanhdong; }
            set
            {
                this.hanhdong = value;
            }
        }
        public string MaPhieuChi
        {
            get { return this.maPhieuChi; }
            set
            {
                this.maPhieuChi = value;
            }
        }
        public DateTime NgayLap
        {
            get { return this.ngayLap; }
            set { this.ngayLap = value; }
        }
        public string MaDoiTuong
        {
            get { return this.maDoiTuong; }
            set { this.maDoiTuong = value; }
        }
        public string MaKho
        {
            get { return this.maKho; }
            set { this.maKho = value; }
        }
        public string KhoanMuc
        {
            get { return this.khoanMuc; }
            set { this.khoanMuc = value; }
        }
        public string DoiTuong
        {
            get { return this.doiTuong; }
            set { this.doiTuong = value; }
        }
        public string TenDoiTuong
        {
            get { return this.tenDoiTuong; }
            set { this.tenDoiTuong = value; }
        }
        public string DiaChi
        {
            get { return this.diaChi; }
            set { this.diaChi = value; }
        }
        public string MaSoThue
        {
            get { return this.maSoThue; }
            set { this.maSoThue = value; }
        }
        public string NguoiNhanTien
        {
            get { return this.nguoinhantien; }
            set { this.nguoinhantien = value; }
        }
        public string MaTKNganHang
        {
            get { return this.maTKNganHang; }
            set { this.maTKNganHang = value; }
        }
        public string CoTaiKhoan
        {
            get { return this.coTaiKhoan; }
            set { this.coTaiKhoan = value; }
        }
        public string NoTaiKhoan
        {
            get { return this.noTaiKhoan; }
            set { this.noTaiKhoan = value; }
        }
        public string TongTienThanhToan
        {
            get { return this.tongTienThanhToan; }
            set { this.tongTienThanhToan = value; }
        }
        public string MaNhanVien
        {
            get { return this.maNhanVien; }
            set { this.maNhanVien = value; }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public bool Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }
  
    }
}